package com.yxh.service;

import com.yxh.pojo.MyTask;
import net.sf.json.JSONObject;
import org.activiti.engine.task.Task;

import java.util.List;
import java.util.Map;

/**
 * Created by asus on 2018/6/26.
 */
public interface FlowManageService {
    public void start(Map<String,Object> variables, String key, String user, String conment);

    List<Task> taskList(String page, String pageSize, String id, String key);


    JSONObject changeData(List<MyTask> tasks, String key,String id);

    void insertImgs(String imgs,String id);

    void insertImgs(List<Map<String, Object>>  imgs,String id);

    void complete(String taskId, Map<String, Object> variables, String operation, String megs);

    String nameBack(String auditingId);

}
